home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9142 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 2b | 2b 0a 50 61 74 68 3a 20 |.lang.c+|+.Path: |
|00000020| 6e 65 77 73 2e 6e 65 72 | 2e 62 62 6e 70 6c 61 6e |news.ner|.bbnplan|
|00000030| 65 74 2e 6e 65 74 21 61 | 72 63 6f 21 75 73 65 6e |et.net!a|rco!usen|
|00000040| 65 74 0a 46 72 6f 6d 3a | 20 42 72 69 61 6e 20 4c |et.From:| Brian L|
|00000050| 65 61 63 68 20 3c 6c 61 | 73 62 66 6c 3e 0a 53 75 |each <la|sbfl>.Su|
|00000060| 62 6a 65 63 74 3a 20 52 | 65 3a 20 54 72 79 69 6e |bject: R|e: Tryin|
|00000070| 67 20 74 6f 20 64 6f 20 | 77 65 69 72 64 20 66 75 |g to do |weird fu|
|00000080| 6e 63 74 69 6f 6e 20 6f | 76 65 72 6c 6f 61 64 69 |nction o|verloadi|
|00000090| 6e 67 0a 58 2d 4e 6e 74 | 70 2d 50 6f 73 74 69 6e |ng.X-Nnt|p-Postin|
|000000a0| 67 2d 48 6f 73 74 3a 20 | 31 33 36 2e 32 32 36 2e |g-Host: |136.226.|
|000000b0| 31 31 36 2e 31 0a 43 6f | 6e 74 65 6e 74 2d 54 79 |116.1.Co|ntent-Ty|
|000000c0| 70 65 3a 20 74 65 78 74 | 2f 70 6c 61 69 6e 3b 20 |pe: text|/plain; |
|000000d0| 63 68 61 72 73 65 74 3d | 75 73 2d 61 73 63 69 69 |charset=|us-ascii|
|000000e0| 0a 4d 65 73 73 61 67 65 | 2d 49 44 3a 20 3c 44 6e |.Message|-ID: <Dn|
|000000f0| 49 36 36 77 2e 4b 49 33 | 40 6e 65 77 73 2e 61 72 |I66w.KI3|@news.ar|
|00000100| 63 6f 2e 63 6f 6d 3e 0a | 54 6f 3a 20 6d 69 6c 6c |co.com>.|To: mill|
|00000110| 65 72 74 40 73 63 68 65 | 69 66 6c 65 72 2e 63 73 |ert@sche|ifler.cs|
|00000120| 65 65 2e 75 73 66 2e 65 | 64 75 0a 53 65 6e 64 65 |ee.usf.e|du.Sende|
|00000130| 72 3a 20 75 73 65 6e 65 | 74 40 6e 65 77 73 2e 61 |r: usene|t@news.a|
|00000140| 72 63 6f 2e 63 6f 6d 0a | 43 6f 6e 74 65 6e 74 2d |rco.com.|Content-|
|00000150| 54 72 61 6e 73 66 65 72 | 2d 45 6e 63 6f 64 69 6e |Transfer|-Encodin|
|00000160| 67 3a 20 37 62 69 74 0a | 4f 72 67 61 6e 69 7a 61 |g: 7bit.|Organiza|
|00000170| 74 69 6f 6e 3a 20 41 52 | 43 4f 20 4f 69 6c 20 25 |tion: AR|CO Oil %|
|00000180| 20 47 61 73 20 43 6f 6d | 70 61 6e 79 0a 52 65 66 | Gas Com|pany.Ref|
|00000190| 65 72 65 6e 63 65 73 3a | 20 3c 34 67 71 76 61 66 |erences:| <4gqvaf|
|000001a0| 24 6d 73 76 40 6d 6f 74 | 68 65 72 2e 75 73 66 2e |$msv@mot|her.usf.|
|000001b0| 65 64 75 3e 0a 4d 69 6d | 65 2d 56 65 72 73 69 6f |edu>.Mim|e-Versio|
|000001c0| 6e 3a 20 31 2e 30 0a 44 | 61 74 65 3a 20 57 65 64 |n: 1.0.D|ate: Wed|
|000001d0| 2c 20 32 38 20 46 65 62 | 20 31 39 39 36 20 32 30 |, 28 Feb| 1996 20|
|000001e0| 3a 32 38 3a 30 38 20 47 | 4d 54 0a 58 2d 4d 61 69 |:28:08 G|MT.X-Mai|
|000001f0| 6c 65 72 3a 20 4d 6f 7a | 69 6c 6c 61 20 31 2e 31 |ler: Moz|illa 1.1|
|00000200| 32 20 28 58 31 31 3b 20 | 49 3b 20 48 50 2d 55 58 |2 (X11; |I; HP-UX|
|00000210| 20 41 2e 30 39 2e 30 35 | 20 39 30 30 30 2f 37 35 | A.09.05| 9000/75|
|00000220| 35 29 0a 58 2d 55 72 6c | 3a 20 6e 65 77 73 3a 34 |5).X-Url|: news:4|
|00000230| 67 71 76 61 66 24 6d 73 | 76 40 6d 6f 74 68 65 72 |gqvaf$ms|v@mother|
|00000240| 2e 75 73 66 2e 65 64 75 | 0a 0a 6d 69 6c 6c 65 72 |.usf.edu|..miller|
|00000250| 74 40 73 63 68 65 69 66 | 6c 65 72 2e 63 73 65 65 |t@scheif|ler.csee|
|00000260| 2e 75 73 66 2e 65 64 75 | 20 28 54 69 6d 6f 74 68 |.usf.edu| (Timoth|
|00000270| 79 20 4d 69 6c 6c 65 72 | 29 20 77 72 6f 74 65 3a |y Miller|) wrote:|
|00000280| 0a 3e 4f 6b 2e 2e 2e 20 | 68 65 72 65 27 73 20 61 |.>Ok... |here's a|
|00000290| 20 70 69 65 63 65 20 6f | 66 20 6f 6e 65 20 6f 66 | piece o|f one of|
|000002a0| 20 6d 79 20 63 6c 61 73 | 73 65 73 3a 0a 3e 0a 3e | my clas|ses:.>.>|
|000002b0| 20 20 20 20 20 20 20 20 | 66 72 69 65 6e 64 20 43 | |friend C|
|000002c0| 6f 6c 6f 72 20 73 63 61 | 6c 65 28 43 6f 6c 6f 72 |olor sca|le(Color|
|000002d0| 20 63 31 2c 20 64 6f 75 | 62 6c 65 20 66 29 3b 0a | c1, dou|ble f);.|
|000002e0| 3e 20 20 20 20 20 20 20 | 20 66 72 69 65 6e 64 20 |> | friend |
|000002f0| 43 6f 6c 6f 72 20 73 63 | 61 6c 65 28 64 6f 75 62 |Color sc|ale(doub|
|00000300| 6c 65 20 66 2c 20 43 6f | 6c 6f 72 20 63 32 29 3b |le f, Co|lor c2);|
|00000310| 0a 3e 20 20 20 20 20 20 | 20 20 43 6f 6c 6f 72 20 |.> | Color |
|00000320| 73 63 61 6c 65 28 64 6f | 75 62 6c 65 20 66 29 20 |scale(do|uble f) |
|00000330| 7b 20 72 65 74 75 72 6e | 20 73 63 61 6c 65 28 2a |{ return| scale(*|
|00000340| 74 68 69 73 2c 20 66 29 | 3b 20 7d 20 20 20 0a 3e |this, f)|; } .>|
|00000350| 0a 3e 49 6e 20 74 68 65 | 20 6d 65 6d 62 65 72 20 |.>In the| member |
|00000360| 66 75 6e 63 74 69 6f 6e | 2c 20 49 27 6d 20 74 72 |function|, I'm tr|
|00000370| 79 69 6e 67 20 74 6f 20 | 63 61 6c 6c 20 74 68 65 |ying to |call the|
|00000380| 20 66 72 69 65 6e 64 20 | 66 75 6e 63 74 69 6f 6e | friend |function|
|00000390| 2c 20 62 75 74 20 74 68 | 65 20 0a 3e 63 6f 6d 70 |, but th|e .>comp|
|000003a0| 69 6c 65 72 20 69 73 20 | 74 68 69 6e 6b 69 6e 67 |iler is |thinking|
|000003b0| 20 74 68 61 74 20 49 27 | 6d 20 74 72 79 69 6e 67 | that I'|m trying|
|000003c0| 20 74 6f 20 63 61 6c 6c | 20 74 68 65 20 6d 65 6d | to call| the mem|
|000003d0| 62 65 72 20 66 75 6e 63 | 74 69 6f 6e 2e 20 20 4e |ber func|tion. N|
|000003e0| 6f 77 2c 20 0a 3e 69 66 | 20 49 20 77 65 72 65 20 |ow, .>if| I were |
|000003f0| 74 72 79 69 6e 67 20 74 | 6f 20 64 6f 20 74 68 69 |trying t|o do thi|
|00000400| 73 20 74 68 65 20 6f 74 | 68 65 72 20 77 61 79 20 |s the ot|her way |
|00000410| 61 72 6f 75 6e 64 2c 20 | 49 20 63 6f 75 6c 64 20 |around, |I could |
|00000420| 75 73 65 20 74 68 65 20 | 73 63 6f 70 65 20 0a 3e |use the |scope .>|
|00000430| 72 65 73 6f 6c 75 74 69 | 6f 6e 20 6f 70 65 72 61 |resoluti|on opera|
|00000440| 74 6f 72 20 74 6f 20 74 | 65 6c 6c 20 74 68 65 20 |tor to t|ell the |
|00000450| 66 72 69 65 6e 64 20 66 | 75 6e 63 74 69 6f 6e 20 |friend f|unction |
|00000460| 74 68 61 74 20 49 27 6d | 20 74 72 79 69 6e 67 20 |that I'm| trying |
|00000470| 74 6f 20 61 63 63 65 73 | 73 20 0a 3e 74 68 65 20 |to acces|s .>the |
|00000480| 6d 65 6d 62 65 72 20 66 | 75 6e 63 74 69 6f 6e 20 |member f|unction |
|00000490| 28 65 76 65 6e 20 74 68 | 6f 75 67 68 20 49 20 77 |(even th|ough I w|
|000004a0| 6f 75 6c 64 6e 27 74 20 | 6e 65 65 64 20 74 6f 2c |ouldn't |need to,|
|000004b0| 20 72 69 67 68 74 3f 29 | 2e 20 20 42 75 74 20 68 | right?)|. But h|
|000004c0| 65 72 65 2c 20 0a 3e 49 | 27 6d 20 74 72 79 69 6e |ere, .>I|'m tryin|
|000004d0| 67 20 74 6f 20 64 6f 20 | 74 68 65 20 65 78 61 63 |g to do |the exac|
|000004e0| 74 20 6f 70 70 6f 73 69 | 74 65 2e 2e 2e 20 73 6f |t opposi|te... so|
|000004f0| 20 68 6f 77 20 77 6f 75 | 6c 64 20 49 20 73 63 6f | how wou|ld I sco|
|00000500| 70 65 20 72 65 73 6f 6c | 76 65 20 6f 75 74 77 61 |pe resol|ve outwa|
|00000510| 72 64 3f 0a 3e 0a 3e 2d | 2d 0a 0a 74 72 79 3a 0a |rd?.>.>-|-..try:.|
|00000520| 20 20 43 6f 6c 6f 72 20 | 73 63 61 6c 65 28 64 6f | Color |scale(do|
|00000530| 75 62 6c 65 20 66 29 20 | 7b 20 72 65 74 75 72 6e |uble f) |{ return|
|00000540| 20 3a 3a 73 63 61 6c 65 | 28 2a 74 68 69 73 2c 66 | ::scale|(*this,f|
|00000550| 29 3b 20 7d 0a 2d 2d 20 | 0a 42 72 69 61 6e 20 46 |); }.-- |.Brian F|
|00000560| 2e 20 4c 65 61 63 68 0a | 53 72 2e 20 53 79 73 74 |. Leach.|Sr. Syst|
|00000570| 65 6d 73 20 41 6e 61 6c | 79 73 74 0a 6c 61 73 62 |ems Anal|yst.lasb|
|00000580| 66 6c 40 61 61 69 2e 61 | 72 63 6f 2e 63 6f 6d 0a |fl@aai.a|rco.com.|
|00000590| 0a 54 65 6c 65 70 68 6f | 6e 65 3a 09 28 39 30 37 |.Telepho|ne:.(907|
|000005a0| 29 20 32 36 33 2d 34 38 | 36 30 0a 46 41 58 3a 09 |) 263-48|60.FAX:.|
|000005b0| 09 28 39 30 37 29 20 32 | 36 35 2d 36 32 39 38 0a |.(907) 2|65-6298.|
|000005c0| 0a 41 52 43 4f 20 41 6c | 61 73 6b 61 2c 20 49 6e |.ARCO Al|aska, In|
|000005d0| 63 2e 0a 41 54 4f 2d 31 | 36 35 36 0a 50 2e 4f 2e |c..ATO-1|656.P.O.|
|000005e0| 20 42 6f 78 20 31 30 30 | 33 36 30 0a 41 6e 63 68 | Box 100|360.Anch|
|000005f0| 6f 72 61 67 65 2c 20 41 | 4b 20 39 39 35 31 30 2d |orage, A|K 99510-|
|00000600| 30 33 36 30 0a 0a | |0360.. | |
+--------+-------------------------+-------------------------+--------+--------+